package org.kotboot.service;/**
 * Created by jisong.sun on 2017/9/14.
 */

import org.kotboot.dao.CarouselDao;
import org.kotboot.domain.Carousel;
import com.github.pagehelper.PageHelper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * jisong.sun 2017/9/14 10:48
 */

@Service
public class CarouselServ {

    @Resource
    CarouselDao carouselDao;


    public List<Carousel> queryActive(){
        return carouselDao.queryAllActivity();
    }
}
